package com.qf.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jiangjingbo
 * @version V1.0
 * @Project java2203
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/7/6 20:54
 */

public class User implements Serializable {
    private Integer id;
    private String name;
    private Date riqi;

    public User() {
    }

    public User(Integer id, String name, Date riqi) {
        this.id = id;
        this.name = name;
        this.riqi = riqi;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getRiqi() {
        return riqi;
    }

    public void setRiqi(Date riqi) {
        this.riqi = riqi;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", riqi=" + riqi +
                '}';
    }
}
